package com.lbj.mall.product.feign;

import com.lbj.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeign {

    @PostMapping("ware/waresku/has/stock")
    R hasStock(@RequestBody List<Long> skuIds);

}
